package org.example.user.service.impl;


import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.example.user.service.ISysLogService;
import org.example.user.entity.SysLogEntity;
import org.example.user.mapper.SysLogMapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;

/**
 * 操作日志表 服务层实现。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Service
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLogEntity> implements ISysLogService {
    @Async("taskExecutor")
    public void asyncSaveLog(SysLogEntity log) {
        this.save(log);
    }
}